package com.person.yhzs.user.entity;

import java.io.Serializable;

/**
 * @author luolin
 * @Description
 * @createTime 2022年11月02日 16:39:00
 */
public class UserRole implements Serializable {
    private static final long serialVersionUID = 2950707413090192493L;

    // 用户Id
    private Long userId;

    // 角色Id
    private Long roleId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "userId=" + userId +
                ", roleId=" + roleId +
                '}';
    }
}
